Incorporating Style Information Into Shape Geometries
QuickDraw GX requires that shapes used for certain purposes (caps, joins, dashes, patterns, and clips) be in primitive form--that is, their style modifications must be incorporated into their geometries. For example, theGXSetShapeDash
function requires that the shape used for dashing be in primitive form; theGXSetShapeCap
,GXSetShapeJoin
, andGXSetShapePattern
functions are similar.For more information about the primitive form of shapes and for examples of functions that use shapes in their primitive form, see Chapter 3, "Geometric Styles," in this book.
The
GXPrimitiveShape
function converts a shape to its primitive form, incorporating the modifications made by the shape's style into the shape's geometry.
Subtopics
- GXPrimitiveShape
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help